﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ShanjinPDAUI.ModelEntity
{
    public class ChangeAreasEntity
    {

        /// <summary>
        /// 主键
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 业务编码   外键
        /// </summary>
        public string BusinessDepartmentCode { get; set; }
        /// <summary>
        /// 缓存区编码 唯一键
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 上游缓存区
        /// </summary>
        public string Upstream { get; set; }
        /// <summary>
        /// 下游缓存区
        /// </summary>
        public string Downstream { get; set; }
        public ChangeAreasEntity Clone()
        {
            return new ChangeAreasEntity()
            {
                id = this.id,

                Code = this.Code,

                Remark = this.Remark,

                BusinessDepartmentCode = this.BusinessDepartmentCode,

               Upstream=this.Upstream,

               Downstream =this.Downstream
            };
        }

    }
}
